<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title><%= content_for?(:title) ? yield(:title) : 'DuckRails' %></title>

    <%= stylesheet_link_tag    "application" %>
    <%= javascript_include_tag "vendor/modernizr" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>
  </head>

  <body>
    <%= render 'shared/header' %>

    <div class="row">
      <div class="small-12 columns">
        <div class="body-content">
          <%= yield %>
        </div>
      </div>
    </div>

    <%= render 'shared/footer' %>
  </body>
</html>
